var t = require("../common/index.js");
Component({
  properties: {
    data: { type: Object },
    floorIndex: { type: Number }
  },
  methods: {
    goLink: function (e) {
      var o = e.currentTarget.dataset, a = o.item, i = a.linkType, n = a.data, r = o.positionIndex, p = o.timestamp, s = e.currentTarget.offsetTop;
      if (i) {
        console.log('table i', i)
        console.log('table a', a)
        var m = this.data.floorIndex;
        (0, t.goLink)({
          type: "multitype",
          data: {
            type: i,
            item: a
          },
          saOption: {
            componentName: "table",
            floorIndex: m,
            positionIndex: r,
            timestamp: p,
            offsetTop: s
          }
        });
      }
    }
  }
});